package com.hcc.gateway.netty.route.predicate;

import com.hcc.gateway.netty.context.GatewayExchange;

import java.util.function.Predicate;

/**
 * RoutePredicateProcessor
 *
 * @author shengjun.hu
 * @date 2021/12/29
 */
@FunctionalInterface
public interface RoutePredicateProcessor {

    Predicate<GatewayExchange> apply(PredicateConfig config);

}
